

# echo "\"testData\""

# read name #read 命令从标准输入中读取一行,并把输入行的每个字段的值指定给 shell 变量
# echo "$name testData"
#换行
# echo "Ok! \n"
# echo "\"testData\""
#显示不换行
# echo "Ok! \c"
# echo "TestData"
# echo `date`
# echo "testData">myfile


#printf

# printf "%-10s %-8s %-4s\n" 姓名 性别 体重kg  
# printf "%-10s %-8s %-4.2f\n" 郭靖 男 66.1234 
# printf "%-10s %-8s %-4.2f\n" 杨过 男 48.6543 
# printf "%-10s %-8s %-4.2f\n" 郭芙 女 47.9876 

num1=100
num2=200
if test $[num1] -eq $[num2]; then
	echo "相等"
	else
	echo "不相等"
fi
str1="rulnoob"
str2="runoob"
if test $str1 = $str2; then
	echo "两个字符相等"
	else
	echo "两个字符不相等"
fi